package com.feihua.starter.comm.component;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Auther: wzn
 * @Date: 2018/8/10 10:20
 * @Description:
 */
@Component
public class MsgTemplate {

    public static String add_activity_msg;
    public static String attend_activity_msg;
    public static String quit_activity_msg_self;
    public static String quit_activity_msg_manager;
    public static String quit_activity_msg;
    public static String quota_full_activity_msg;
    public static String status_activity_msg;
    public static String review_activity_msg;
    public static String review_activity_msg_manager;

    @Value("#{config['review.activity.msg.manager']}")
    public void setReviewActivityMsgManager(String reviewActivityMsgManager) {
        this.review_activity_msg_manager = reviewActivityMsgManager;
    }
    @Value("#{config['review.activity.msg']}")
    public void setReviewActivityMsg(String reviewActivityMsg) {
        this.review_activity_msg = reviewActivityMsg;
    }

    @Value("#{config['add.activity.msg']}")
    public void setAddActivityMsg(String addActivityMsg) {
        this.add_activity_msg = addActivityMsg;
    }

    @Value("#{config['attend.activity.msg']}")
    public void setAttendActivityMsg(String attendActivityMsg) {
        this.attend_activity_msg = attendActivityMsg;
    }

    @Value("#{config['quit.activity.msg.self']}")
    public void setQuitActivityMsgSelf(String quitActivityMsgSelf) {
        this.quit_activity_msg_self = quitActivityMsgSelf;
    }

    @Value("#{config['quit.activity.msg.manager']}")
    public void setQuitActivityMsgManager(String quitActivityMsgManager) {
        this.quit_activity_msg_manager = quitActivityMsgManager;
    }

    @Value("#{config['quit.activity.msg']}")
    public void setQuitActivityMsg(String quitActivityMsg) {
        this.quit_activity_msg = quitActivityMsg;
    }

    @Value("#{config['quota.full.activity.msg']}")
    public void setQuotaFullActivityMsg(String quotaFullActivityMsg) {
        this.quota_full_activity_msg = quotaFullActivityMsg;
    }

    @Value("#{config['status.activity.msg']}")
    public void setStatusActivityMsg(String statusActivityMsg) {
        this.status_activity_msg = statusActivityMsg;
    }
}
